home *** CD-ROM | disk | FTP | other *** search
- if(getProperty("../jug", _X) == _X and getProperty("../jug", _Y) == _Y)
- {
- set("_root.jug:t",-50);
- set("_root.jug:dx",0);
- set("_root.jug:dy",0);
- tellTarget(_root.audio.points)
- {
- gotoAndPlay(2);
- }
- locx = new Array(536,568,600);
- locy = new Array(37,53,69);
- mx = locx[random(2)];
- my = locy[random(2)];
- tellTarget("../felipe")
- {
- gotoAndPlay(10);
- }
- }
- dx = (mx - _X) / 10;
- dy = (my - _Y) / 10;
- _X = _X + dx;
- _Y = _Y + dy;
- if(dx != 0 or dy != 0)
- {
- _alpha = _alpha - 5;
- }
- z = int(_Y - 5);
- swapdepths(z);
-